package com.yimi.yinhepda.JPush;

import android.content.Context;
import cn.jpush.android.api.JPushMessage;
import cn.jpush.android.service.JPushMessageReceiver;

/**
 * @author 000432
 * @date 2017/12/15 0015
 */
public class JPushMessageCustomReceiver extends JPushMessageReceiver {

  @Override public void onTagOperatorResult(Context context, JPushMessage jPushMessage) {
    try{
      TagAliasOperatorHelper.getInstance().onTagOperatorResult(context, jPushMessage);
    }catch (Exception e){

    }
    super.onTagOperatorResult(context, jPushMessage);
  }

  @Override public void onCheckTagOperatorResult(Context context, JPushMessage jPushMessage) {
    TagAliasOperatorHelper.getInstance().onCheckTagOperatorResult(context, jPushMessage);
    super.onCheckTagOperatorResult(context, jPushMessage);
  }

  @Override public void onAliasOperatorResult(Context context, JPushMessage jPushMessage) {
    TagAliasOperatorHelper.getInstance().onAliasOperatorResult(context, jPushMessage);
    super.onAliasOperatorResult(context, jPushMessage);
  }
}
